package com.webapp.model;

import java.sql.Date;

public class Comment {
	
	private int commentId;
	private Date date;
	private String content;
	private int author;
	
	public Comment(int id, Date newDate, String newContent, int newAuthor){
		commentId = id;
		date = newDate;
		content = newContent;
		author = newAuthor;
	}

	public int getCommentId(){return this.commentId;}
	public Date getDate(){return this.date;}
	public String getContent(){return this.content;}
	public int getAuthor(){return this.author;}
	
	public void setCommentId(int newId){this.commentId = newId;}
	public void setDate(Date newDate){this.date = newDate;}
	public void setContent(String newContent){this.content = newContent;}
	public void setAuthor(int newAuthor){this.author = newAuthor;}
}
